package cn.swh.guguanjia.service;

import cn.swh.guguanjia.entity.SysArea;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.github.pagehelper.PageInfo;

import java.io.InputStream;
import java.io.OutputStream;
import java.util.Map;

/**
 * @Author: swh
 * @Description:
 * @Date: 2020/10/27 17:33
 * @Version: 1.0
 */
public interface SysAreaService extends
        BaseService<SysArea, Long> {

    PageInfo<SysArea> selectPage(int pageNum, int pageSize, Map<String, Object> condition);

    int updateByPrimaryKeySelective(Map<String, Object> map) throws JsonProcessingException;

    //文件上传
    void upload(InputStream is);

    //文件下载
    void download(OutputStream os);
}
